package com.wdd.myplatform.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangqb
 * @since 2021-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "BizDevice对象", description = "")
public class BizDevice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "设备大类")
    private String deviceType;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;


    @ApiModelProperty(value = "设备序列号")
    private String deviceSn;

    @ApiModelProperty(value = "所属区域")
    private String sysOrgCode;

    @ApiModelProperty(value = "设备描述")
    private String deviceDesc;

    @ApiModelProperty(value = "设备在iot平台ID")
    private String iotDevId;

    @ApiModelProperty(value = "设备连接token")
    private String devToken;

    @ApiModelProperty(value = "设备状态")
    private Integer status;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateBy;

    @ApiModelProperty(value = "更新人")
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除标识0-未删除1-已删除")
    private Byte delFlag;

    @ApiModelProperty(value = "二维码")
    private String qrCode;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

}
